<%--
  Created by IntelliJ IDEA.
  User: YYY-Work
  Date: 2017/5/12
  Time: 17:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path;
%>
<!DOCTYPE>
<html>
<head>
    <title>Title</title>
    <meta charset="UTF-8">
    <title>AdminLTE | Data Tables</title>
    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>

    <script type="text/javascript" src="<%=basePath%>/js/jquery-2.1.1.min.js"></script>
    <script type="text/javascript" src="<%=basePath%>/js/jquery.form.min.js"></script>
    <script type="text/javascript" src="<%=basePath%>/js/admin/utils.js"></script>
    <link href="../../css/bootstrap.min.css" media="all" rel="stylesheet" type="text/css"/>
    <script src="../../js/bootstrap.js" type="text/javascript"></script>
    <link href="<%=basePath%>/css/fileinput.css" media="all" rel="stylesheet" type="text/css"/>
    <link href="<%=basePath%>/themes/explorer/theme.css" media="all" rel="stylesheet" type="text/css"/>
    <script src="<%=basePath%>/js/sortable.js" type="text/javascript"></script>
    <script src="<%=basePath%>/js/fileinput.js" type="text/javascript"></script>
    <script src="<%=basePath%>/js/locales/zh.js" type="text/javascript"></script>
    <script src="<%=basePath%>/js/locales/es.js" type="text/javascript"></script>
    <script src="<%=basePath%>/themes/explorer/theme.js" type="text/javascript"></script>
</head>
<body class="skin-blue">

<!-- getHeader -->
<s:action name="getHeader" namespace="/privilege" executeResult="true"/>
<div class="wrapper row-offcanvas row-offcanvas-left">
    <!-- Left side column. contains the logo and sidebar -->

    <!-- getMenus -->
    <s:action name="getMenus" namespace="/privilege" executeResult="true"/>

    <!-- Right side column. Contains the navbar and content of the page -->
    <aside class="right-side">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h1>

                <small>新增医院</small>
            </h1>
        </section>

        <!-- Main content -->
        <section class="content">
            <div class="row">
                <div class="col-xs-12">
                    <div class="box">

                        <div class="box box-danger">

                            <div class="box-body">

                                <form id="form" class="form-horizontal" enctype="multipart/form-data" method="post"
                                      action="<%=basePath%>/cardtype/ajaxAddUserCardType.action">
                                    <fieldset>
                                        <!--医院名称-->
                                        <div class="form-group">
                                            <label class="col-sm-1 control-label">卡片名称</label>
                                            <div class="col-sm-2">
                                                <input type="text" id="cardName" name="cardName"
                                                       class="form-control" placeholder="卡片名称">
                                            </div>
                                        </div>

                                        <!--所在城市-->
                                        <div class="form-group">
                                            <label class="col-sm-1 control-label">有效期</label>
                                            <div class="col-sm-2">
                                                <input type="number" id="validDuration" name="validDuration"
                                                       class="form-control" placeholder="有效期">
                                            </div>
                                        </div>

                                        <div class="form-group">
                                            <label class="col-sm-1 control-label">图文咨询次数</label>
                                            <div class="col-sm-2">
                                                <input type="number" id="cardtime01" name="cardtime01"
                                                       class="form-control" placeholder="图文咨询次数">
                                            </div>
                                        </div>

                                        <div class="form-group">
                                            <label class="col-sm-1 control-label">视频咨询时间</label>
                                            <div class="col-sm-2">
                                                <input type="number" id="cardtime03" name="cardtime03"
                                                       class="form-control" placeholder="视频咨询时间">
                                            </div>
                                        </div>


                                        <div class="form-group">
                                            <label class="col-sm-1 control-label">免费送药次数</label>
                                            <div class="col-sm-2">
                                                <input type="number" id="cardtime04" name="cardtime04"
                                                       class="form-control" placeholder="免费送药次数">
                                            </div>
                                        </div>


                                        <div class="form-group">
                                            <label class="col-sm-1 control-label">免费挂号次数</label>
                                            <div class="col-sm-2">
                                                <input type="number" id="cardtime05" name="cardtime05"
                                                       class="form-control" placeholder="免费挂号次数">
                                            </div>
                                        </div>

                                        <div class="form-group">
                                            <label class="col-sm-1 control-label">备注</label>
                                            <div class="controls col-sm-4">
                                                <div class="textarea">
                                                    <textarea type="" name="comment" rows="4" class="form-control" style="width: 100%"></textarea>
                                                </div>
                                            </div>
                                        </div>


                                        <div class="form-group">
                                            <label class="col-sm-1" style="text-align: right">是否启用</label>
                                            <div class="controls col-sm-2">
                                                <label class="radio inline">
                                                    <input name="isUsedFlag" type="radio" checked="checked" value="1">
                                                    启用
                                                </label>
                                                <label class="radio inline">
                                                    <input name="isUsedFlag" type="radio" value="0">
                                                    不启用
                                                </label>
                                            </div>
                                        </div>

                                        <div class="form-group">
                                            <label class="col-sm-1 control-label"></label>

                                            <div class="controls col-sm-4">
                                                <button class="btn btn-success" type="submit">保存</button>
                                                <button class="btn" type="reset" style="margin-left: 30px">重置</button>
                                            </div>
                                        </div>

                                    </fieldset>
                                </form>

                            </div><!-- /.box-body -->
                        </div><!-- /.box -->

                    </div><!-- /.box -->


                </div>
            </div>

        </section><!-- /.content -->
    </aside><!-- /.right-side -->
</div><!-- ./wrapper -->

</body>
</html>
